package se.jagvetintedu;

public class Problem7 {
	
	int findPrime(int count) {
		prime primeGenerator = new prime();
		
		return primeGenerator.generateCount(count);
	}
	
	public static void main(String args[])
	{
		System.out.println("Project Euler, problem 7");
		
		Problem7 solution = new Problem7();
		System.out.println("Find the 10001st prime: " + solution.findPrime(10001));
	}
}
